//
//  Mine_editHeaderCell.m
//  HappyRent
//
//  Created by CoderYee on 2017/3/29.
//  Copyright © 2017年 内圈科技. All rights reserved.
//

#import "Mine_editHeaderCell.h"

@implementation Mine_editHeaderCell

-(void)addOwnView
{
    
    self.textLabel.text=@"头像";
    self.textLabel.font=[UIFont systemFontOfSize:14];
    self.accessoryType=UITableViewCellAccessoryDisclosureIndicator;
    self.selectionStyle=UITableViewCellSelectionStyleNone;
    _rightImageView=[[UIImageView alloc] init];
    _rightImageView .contentMode=UIViewContentModeScaleAspectFill;
    _rightImageView.clipsToBounds=YES;
    [self.contentView addSubview:_rightImageView];
    [_rightImageView setImage:[UIImage imageNamed:@"4"]];
    _rightImageView.layer.masksToBounds=YES;
    _rightImageView.layer.cornerRadius=self.bounds.size.height*0.5;
    [_rightImageView mas_makeConstraints:^(MASConstraintMaker *make)
     {
         make.bottom.top.right.equalTo(self.contentView);
         make.width.equalTo(_rightImageView.mas_height);
     }];
}
@end
